b = 0.3
flag = 1
if b<0:
    flag = -1
    b *= flag
x = b
while x*x*x-b > 1e-9:
    x = (2*x*x*x+b)/(3*x*x)
    print(x)
print(round(flag*x, 1))